package com.yao.mall.service;

import jakarta.servlet.http.HttpServletRequest;

/**
 * @author jiahua.yao
 * @version 1.0
 * @description 支付调用服务层
 * @date 2024/4/9 15:23
 */
public interface PayService {

    /**
     * 使用支付宝支付
     * @param orderId 订单id
     * @return string
     */
    String useAliPay(Long orderId);

    /**
     * 支付宝支付异步回调接口，修改订单状态
     * @param request request
     * @return string
     */
    String payNotify(HttpServletRequest request);
}
